package com.systop.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author jsj
 * @date 2022/6/8
 */
@Component
@Data
public class ThreadPoolConfigProperties {
    @Value("${cakeshop.thread.core-size}")
    private Integer coreSize;
    @Value("${cakeshop.thread.max-size}")
    private Integer maxSize;
    @Value("${cakeshop.thread.keep-alive-time}")
    private Integer keepAliveTime;
}
